package com.qn.visitor.intercept.intercept;


import com.qn.visitor.intercept.IRuleIntercept;

import java.util.List;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
public class HashRuleIntercept implements IRuleIntercept {
    @Override
    public Integer execute(String atom, List<String> rules) {
        if (rules.contains(atom)) {
            return 1;
        }
        return 0;
    }
}
